-
-
Notifications
You must be signed in to change notification settings - Fork 46.6k
fixes #8673; Add operator's associativity check for stacks/infix_to_p… #8674
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fixes #8673; Add operator's associativity check for stacks/infix_to_p… #8674
Conversation
…ks/infix_to_postfix_conversion.py
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Solves UP031
Lines 79 and 104 in ciphers/rsa_cipher.py
can be changed to:
"ERROR: Block size is {block_size} bits and key size is {key_size} bits. The RSA cipher "
and line 82 and 107 can be changed to:
.format(block_size=block_size*8, key_size=key_size)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@amirsoroush you can run github actions again now, as your ruff failure issues has been fixed by my PR #8680, so, it shouldn't be fail this time.
… bug-fix-expression-tree
@amirsoroush Could you put |
Co-authored-by: Tianyi Zheng <[email protected]>
Co-authored-by: Tianyi Zheng <[email protected]>
I've already fixed the ruff errors in #8913, so we can merge this once that PR gets merged |
@tianyizheng02 Do I need to push an empty commit for tests to be passed? |
Once that other PR is merged, pulling the latest commits from the main branch should be enough |
@amirsoroush The other PR has been merged so try updating your branch |
Thanks for your contribution! |
…ks/infix_to_p… (TheAlgorithms#8674) * fixes TheAlgorithms#8673; Add operator's associativity check for stacks/infix_to_postfix_conversion.py * fix ruff N806 in stacks/infix_to_postfix_conversion.py * Update data_structures/stacks/infix_to_postfix_conversion.py Co-authored-by: Tianyi Zheng <[email protected]> * Update data_structures/stacks/infix_to_postfix_conversion.py Co-authored-by: Tianyi Zheng <[email protected]> --------- Co-authored-by: Tianyi Zheng <[email protected]>
Fixes #8673
Describe your change:
I also added a doctest to reveal the problem.
Checklist:
Fixes: #{$ISSUE_NO}
.